﻿#include <iostream>
using namespace std;
int main()
{
	int i = 10;
	int a;
	//先执行表达式，再把变量的值加1。
	/*a = i;
	i = i+ 1;*/
	//a = i++;

	//先把变量值加1，让后在执行表达式。
	/*i = i + 1;
	a = i;*/
	/*a = ++i;
	cout << "i=" << i << endl;
	cout << "a=" << a << endl;*/
	//linux 编译需要加-std=c++11
	int b = 10;
	int c = (10);
	int d(10);
	int e = { 10 };
	int f{ 10 };
	cout << "b=" << b << endl;
	cout << "c=" << c << endl;
	cout << "d=" << d << endl;
	cout << "e=" << e << endl;
	cout << "f=" << f << endl;
}

